package com.xiyu.service.vo.setting.poolSetting;

import com.xiyu.service.vo.customer.pool.baseVO.CustomerPoolRuleBase;
import com.xiyu.service.vo.customer.pool.baseVO.CustomerPoolRuleDeptBase;
import com.xiyu.service.vo.customer.pool.baseVO.CustomerPoolRulePostBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "获取单个公海规则")
@Data
@AllArgsConstructor
public class PoolSettingGetRuleOutput extends CustomerPoolRuleBase {

    @Schema(description = "公海规则关联岗位")
    @Valid
    private List<rulePost> rulePosts;

    @Schema(description = "公海规则关联部门")
    @Valid
    private List<ruleDept> ruleDepts;

    @Schema(description = "公海规则主键ID")
    private Long id;

    @Schema(description = "公海规则关联岗位")
    @Data
    public static class rulePost extends CustomerPoolRulePostBase {
    }

    @Schema(description = "公海规则关联部门")
    @Data
    public static class ruleDept extends CustomerPoolRuleDeptBase {
    }
}